package verbindung;

import org.apache.log4j.PropertyConfigurator;

/**
 * 
 * @author Nilientes
 *
 */
public class ServerTest {

	/**
	 * 
	 * @param args
	 */
	public static void main(String[] args)
	{
		PropertyConfigurator.configure("log4j.props");
		
		String server = "192.168.2.100";
		
		//test the binary server
		
		DBDClientBin bin = new DBDClientBin(server, 1436);
		
		
		bin.subscribeVar("test3", new DBDPrintCallback());
		
		
		bin.setVar("test", 16);
		System.out.println("test: "+bin.getVar("test"));
		
		
	}

}
